<?php

namespace G4T\Form\Form;

class DefaultForm extends \Zend_Form
{

    public function populate(array $values)
    {
        foreach ($values as &$value) {
            if (is_array($value) && isset($value['id'])) {
                $value = $value['id'];
            }
        }
        parent::populate($values);
    }
}
